import request from '@/utils/request'

// 单条查询
export function selectSealApplication(params) {
  return request({
    url: '/management/administrative/sealApplication/findId',
    method: 'POST',
    params
  })
}

// 添加
export function insertSealApplication(data) {
  return request({
    url: '/management/administrative/sealApplication/insert',
    method: 'POST',
    data
  })
}

// 分页查询
export function getList(params) {
  return request({
    url: '/management/administrative/sealApplication/selectPage',
    method: 'POST',
    params
  })
}

// 修改
export function updateSealApplication(data) {
  return request({
    url: '/management/administrative/sealApplication/update',
    method: 'POST',
    data
  })
}

// 删除
export function delSealApplication(data) {
  return request({
    url: '/management/administrative/sealApplication/del',
    method: 'POST',
    data
  })
}

// 模糊查询团队下拉信息
export function selectTeam(params) {
  return request({
    url: '/administrative/teams/getTeamIdAndNameListByName',
    method: 'post',
    params
  })
}
